package group2assignone.ucm.manager;

import group2assignone.ucm.UCController;
import group2assignone.view.manager.EditFlightView;
import group2assignone.view.manager.ManagerView;

/**
 * use case to change ui to edit manager view
 * @author group2
 */
public class UCManagerUIEditFlight implements UCController {
    //private ManagerView manView = new ManagerView();

    @Override
    public void run() {
        ManagerView mv = ManagerView.getInstance();
        mv.setVisible(false);

        EditFlightView ev = new EditFlightView();
        UCUIEditFlight ucef = new UCUIEditFlight(ev);
        ucef.run();
    }
}
